﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Globalization;
using System.Web.Mvc;
using System.Web.Security;

namespace DSAAssignment.Models
{
    public class ProductsModel
    {


        public Common.Product Products { get; set; }
        public SelectList Categories { get; set; }

        public ProductsModel()
        {
            Categories = new SelectList(new ProductServ.ProductServicesClient().GetAllCategories(), "ID", "CategoryName");
        }
     

    }
}